//
//  ZijinmimaVC.m
//  SSC
//
//  Created by 红沙尘 on 17/6/10.
//  Copyright © 2017年 红沙尘. All rights reserved.
//

#import "ZijinmimaVC.h"

@interface ZijinmimaVC ()

@end

@implementation ZijinmimaVC

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    return [super initWithNibName:NSStringFromClass([self.superclass class]) bundle:nibBundleOrNil];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setTitle:@"修改资金密码"];
}

- (void)sendRequest {
    
    [LoadingView show];
    
    [SSCRequest updateAmountpassword:oldField.text
                            password:newFieldA.text
                        truepassword:newFieldB.text
                             success:^(NSDictionary *responseObject)
     {
         [LoadingView diss];
         [MTool showAlertController:self message:@"修改成功"];
    } fail:^(NSError *error) {
         [LoadingView diss]; 
    }];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
